C#
VB
C++
Allow components to register to a typed events published by other components.
public void Subscribe<T>(
EventHandler<T> onEventExecuted
)
Public Sub Subscribe(Of T As EventArgs)( _
ByVal onEventExecuted As EventHandler(Of T) _
)
public:
void Subscribegeneric<typename T>
(
EventHandler<T^>^ onEventExecuted
)
where T: EventArgs
onEventExecuted
A callback which will be called when the typed event is being published.
T
The type of the event the component is interested in subscribing into.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET